Examples of Program Composition Illustrating the Use of Universal Properties
نویسندگان
چکیده
This paper uses a theory of composition based on existential and universal properties. Universal properties are useful to describe components interactions through shared variables. However, some universal properties do not appear directly in components specifications and they must be constructed to prove the composed system. Coming up with such universal properties often requires creativity. The paper shows through two examples how this construction can be achieved. The principle used is first presented with a toy example and then applied to a more substantial problem.
منابع مشابه
Program Composition in Isabelle/UNITY
We describe the mechanization of recent examples of compositional reasoning, due to Charpentier and Chandy [4]. The examples illustrate a new theory for composition proposed by Chandy and Sanders [2, 3], based on the so-called existential and universal properties. We show that, while avoiding hand proof mistakes, a such compositional reasoning can be mechanized quite straightforwardly. We also ...
متن کاملEffect of Particle Size Distribution and Chemical Composition on Properties of Magnesia Chromite Bricks
The present study was undertaken to improve the quality and increase the life time of magnesia-chromite refractory bricks used in the copper and lead industries. The results show that a decrease in the amount of large chromite particles in the formulation improves the thermomechanical properties and also reduces the slag penetration in the bricks. In addition it was also observed that the use o...
متن کاملConformity of Drug Abuse International Standards, Psychological and Sociologic Theories and Drug and Alcohol Use Prevention in Iran in 4 National Development Programs
Background: The international drug abuse standards were achieved by review of a vast meta-analysis in the world and released 2 years ago in Vienna. Review of national programs in recent 20 years and conformity of them is the main objective of this presentation. Methods: Based on research that was supported by UNODC and DCHQ, the demand reduction program in Iran at the mentioned time was studied...
متن کاملAn approximate method for solving fractional system differential equations
IIn this research work, we have shown that it is possible to use fuzzy transform method (FTM) for the estimate solution of fractional system differential equations (FSDEs). In numerical methods, in order to estimate a function on a particular interval, only a restricted number of points are employed. However, what makes the F-transform preferable to other methods is that it makes use of all poi...
متن کاملOn reducibility of weighted composition operators
In this paper, we study two types of the reducing subspaces for the weighted composition operator $W: frightarrow ucdot fcirc varphi$ on $L^2(Sigma)$. A necessary and sufficient condition is given for $W$ to possess the reducing subspaces of the form $L^2(Sigma_B)$ where $Bin Sigma_{sigma(u)}$. Moreover, we pose some necessary and some sufficient conditions under which the subspaces of the form...
متن کامل